﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Liberty.Controls.Rules
{
    [Serializable]
    public class ValidationSummaryRule : ValidationRule
    {
        #region Constants
        #endregion

        #region Event Handlers
        #endregion

        #region Methods
        #endregion

        #region Properties
        public string ValidationGroup
        {
            get
            {
                return i_ValidationGroup;
            }
            set
            {
                i_ValidationGroup = value;
            }
        }
        #endregion

        #region Private Methods
        #endregion

        #region Private Properties
        #endregion

        #region Construction and Finalization
        public ValidationSummaryRule()
            : this( String.Empty, String.Empty )
        {
        }

        public ValidationSummaryRule( string validatorID, string validationGroup ) : base( validatorID )
        {
            this.ValidationGroup = validationGroup;
        }
        #endregion

        #region Data Elements
        private string i_ValidationGroup;
        #endregion
    }
}
